<%@ page language="java" contentType="text/html; charset=GBK"
	pageEncoding="GBK" import="bean.PollUser, model.PollUserImpl" %>
<%
String pid = (String)request.getParameter("pid");
String pollName = (String)request.getParameter("name");
String desc = (String)request.getParameter("des");
String ver = (String)request.getParameter("ver");
String assign = (String)request.getParameter("assign");
System.out.println("pollName is:"+pollName);
session.setAttribute("pollid", pid);
session.setAttribute("pname", pollName);
session.setAttribute("ver", ver);
session.setAttribute("des", desc);
if(assign == null){
	response.sendRedirect("PollCreator/Addquestion.jsp");
}else{
	session.setAttribute("selected_poll", pid);
	response.sendRedirect("assignUser.jsp");
}
%>